package state.group.events;

public class StopEvent extends ElevatorEvent {

    public StopEvent(byte[] data, int startIndex)
    {
        super(data, startIndex);
    }
    
    public StopEvent(byte elevatorId)
    {
        super(elevatorId);
    }

    @Override
    public int getEventByteLength()
    {
        return 2;
    }

    @Override
    public EventType getEventType()
    {
        return EventType.StopEvent;
    }
    
}

